import cv2 as cv
import numpy as np
img = cv.imread('../../data/j.png',0)
kernel =np.ones((5,5),np.uint8)
dilation=cv.dilate(img,kernel,iterations =1)
cv.imshow('img',img)# cv.imshow('kernel', kernel)
cv.imshow('dilation',dilation)
cv.waitKey(0)
cv.destroyAllWindows()